Einhugur Xml Plugin for Xojo

Node.FirstElementByPath Method

Finds first node in the tree by given path, returning the found element or empty node.

FirstElementByPath(
   path as String) as as EinhugurXml.Node

Parameters

path
The path to search for.

Returns

as EinhugurXml.Node
The found node or empty node if not found.

Remarks


var node as EinhugurXml.Node = document.FirstElementByPath("Profile/Tools")

See Also

Node Class